<ion-view hide-tabs="true" view-title="投诉建议">
    <ion-nav-buttons side="left">
        <a href="javascript:history.back(-1)" class="button button-icon icon ion-ios-arrow-back own-bar-p" nav-direction="back"></a>
    </ion-nav-buttons>
    <ion-content class="sys-bg">
        <div class="list">
            <form name="chargeForm" ng-submit="submit(chargeForm.$valid)">
                <div class="form-group input-group">
                    <span class="input-group-addon">标题</span>
                    <input type="text" class="form-control" ng-model="suggestion.title"
                           name="title"
                           required
                           autofocus
                           placeholder="如:投诉、建议"/>
                </div>
                <div class="form-group input-group">
                    <p class="input-group-addon">内容</p>
                    <textarea  class="form-control"  cols="50" rows="10"
                               style="resize:none;"
                               name="content"
                               ng-model="suggestion.content"
                               autofocus
                               required
                               placeholder="内容">

                    </textarea>
                </div>
                <div class="form-group input-group">
                    <span class="input-group-addon">电话</span>
                    <input type="text" class="form-control"
                           name="contact"
                           autofocus
                           required
                           placeholder="如:0701-3731234、158********"
                           ng-model="suggestion.contact"/>
                </div>
                    <button class="button button-full button-positive zf-btn" ng-disabled="chargeForm.$invalid" type="submit" >
                        提交
                    </button>
            </form>
        </div>
    </ion-content>
</ion-view>